Repository navigation
python-math #36: feat(math): mode collapse — degenerate guards become the only path (item 2 parked) - #2665
Closed
jucor wants to merge 1 commit into
Closed
python-math #36: feat(math): mode collapse — degenerate guards become the only path (item 2 parked)#2665jucor wants to merge 1 commit into
jucor wants to merge 1 commit into
Conversation
This was referenced Jul 27, 2026
Closed
python-math #43: docs(delphi): s7 goal state + journal — mode collapse executed, battery 20/20
#2672
Closed
Closed
Closed
Closed
Closed
Closed
Closed
Closed
This was referenced Jul 27, 2026
Closed
Closed
Closed
This was referenced Jul 28, 2026
Closed
3 tasks
… the only path (item 2 parked) ## What `GOAL_CUTOVER_READY.md` Phase 2, chunk C1 of the mode collapse — removing the engine's improved-mode branches so the Clojure-faithful behavior becomes the only code path (branch-site inventory in journal session 7). The engine now always runs the Clojure semantics on degenerate input: - `_compute_pca`: only a truly-EMPTY matrix short-circuits (Clojure runs real math on a 1x1 matrix — the every-vote step-0 oracle); the improved-mode <2 guard is deleted. - `_compute_clusters`: the <2-in-conv-participants early return and the <2-base-clusters early return (both improved-mode-only) are deleted — degenerate ticks fall through to the full base->group clustering chain exactly like `conversation.clj` (max-k always >= 2). - `conv_repness`: the <2 matrix guard is deleted — repness/consensus is computed at every size (the best-agree guarantee). ## Parking The deleted improved-mode guards are queue item 2 in `POST_CUTOVER_IMPROVEMENTS.md`; the `improvements/*` park commit — which preserves the deleted code as the reverse of this commit's guard hunks — is minted at the end of the collapse. Improved-mode guard tests are deleted with their branches (`test_degenerate_tick_parity.py`). Legacy tests unchanged and green. commit-id:13e86ed3
Collaborator
Author
|
Closing: this change is already on This PR was one layer of a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
GOAL_CUTOVER_READY.mdPhase 2, chunk C1 of the mode collapse — removing the engine's improved-mode branches so the Clojure-faithful behavior becomes the only code path (branch-site inventory in journal session 7). The engine now always runs the Clojure semantics on degenerate input:_compute_pca: only a truly-EMPTY matrix short-circuits (Clojure runs real math on a 1x1 matrix — the every-vote step-0 oracle); the improved-mode <2 guard is deleted._compute_clusters: the <2-in-conv-participants early return and the <2-base-clusters early return (both improved-mode-only) are deleted — degenerate ticks fall through to the full base->group clustering chain exactly likeconversation.clj(max-k always >= 2).conv_repness: the <2 matrix guard is deleted — repness/consensus is computed at every size (the best-agree guarantee).Parking
The deleted improved-mode guards are queue item 2 in
POST_CUTOVER_IMPROVEMENTS.md; theimprovements/*park commit — which preserves the deleted code as the reverse of this commit's guard hunks — is minted at the end of the collapse. Improved-mode guard tests are deleted with their branches (test_degenerate_tick_parity.py). Legacy tests unchanged and green.commit-id:13e86ed3
Stack: